<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/css/maintain/addFaultType.css">
    <link rel="stylesheet" href="{{ layui.setter.base }}style/alert.css">
</script>
<style scoped>
    .footer{
        padding-top: 40px;
    }
    .layui-btn-container .layui-btn{
           font-size: 9px;
           height: 25px;
           line-height: 25px;
       }
</style>

<div class="layui-form row" lay-filter="layuiadmin-form-tags" id="layuiadmin-form-tags">
    <div class="layui-title add-faultType-ones">新增故障类型</div>
    <div class="layui-form-item onesType">
        <label class="layui-form-label">故障类型：</label>
        <div class="layui-input-block">
            <input type="text" name="tcBugName" placeholder="故障类型" autocomplete="off" class="layui-input" id="Ones">
        </div>
    </div>
    <div class="layui-form-item twoType">
        <label class="layui-form-label">故障类型说明:</label>
        <div class="layui-input-block">
            <textarea name="tcBugDsc" required lay-verify="required" placeholder="请输入" class="layui-textarea"
                id="Twos"></textarea>
        </div>
    </div>
    <div class="footer layui-btn-container">
        <div class="layui-form-item">
            <button class="btn1 layui-btn layui-btn-radius layui-btn-primary" lay-filter="layuiadmin-app-form-submit"
                lay-submit>确定</button>
            <button class="btn2 layui-btn layui-btn-radius layui-btn-primary">取消</button>
        </div>
    </div>
</div>

<!--  -->
<script>
    layui.use(['admin', 'form', 'user', 'table', 'api', 'laytpl', 'utill', 'laydate'], function () {
        var $ = layui.$,
            admin = layui.admin,
            view = layui.view,
            api = layui.api,
            table = layui.table,
            setter = layui.setter,
            laytpl = layui.laytpl,
            utill = layui.utill,
            laydate = layui.laydate,
            form = layui.form;
        // 在一次渲染表单
        form.render();
    });
</script>